WPJoli\SAFI\Controllers\TemplatesController C

Total Complexity 123
Dependencies 1
Dependents 5
Total lines 744
Lines of code 484
Logical lines of code 270
Comment lines 233
Methods 17
Properties 4

Methods 17

Method Rating Maintainability Complexity Lines of code
ajaxTemplatesRouteAction()
D
17
69 231
getStarterTemplates()
A
47 10 34
createTemplateThumbnail()
S
45 5 45
updateTemplate()
S
53 5 23
reorderTemplates()
S
58 4 17
copyTemplateThumbnail()
S
59 4 15
importTemplate()
S
59 4 15
getTemplates()
S
62 4 13
addTemplate()
S
56 3 19
duplicateTemplate()
S
56 3 19
deleteTemplate()
S
58 3 17
deleteTemplateThumbnail()
S
66 2 8
pullTemplates()
S
67 2 8
pullTemplatesScreenshots()
S
67 2 8
__construct()
S
71 1 6
pushTemplates()
S
79 1 3
pushTemplatesScreenshots()
S
79 1 3